package com.quanyan.financialSystem.entity.vo.resp;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by Administrator on 2016/10/22.
 * 现金结算报表
 */
public class RespCashSettleReport implements Serializable{

    private static final long serialVersionUID = -3387997795780713716L;
    private String cityName;
    private String placeName;
    private String placeCode;
    /**
     * 联系人
     */
    private String contact;
    private String placeOrderId;

    /**
     * 订单状态 1：待付款 2：已关闭 3：已付款 4：退款中 5：已退款 6：已完成
     */
    private Integer orderStatus;

    /**
     * 金额
     */
    private BigDecimal debit;

    /**
     * 现金结算状态：1未申请 2申请结算 3已转账 4确认结算
     */
    private int cashStatus;

    private Integer orderType;

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getPlaceName() {
        return placeName;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }

    public String getPlaceCode() {
        return placeCode;
    }

    public void setPlaceCode(String placeCode) {
        this.placeCode = placeCode;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getPlaceOrderId() {
        return placeOrderId;
    }

    public void setPlaceOrderId(String placeOrderId) {
        this.placeOrderId = placeOrderId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public BigDecimal getDebit() {
        if(debit == null)
            new BigDecimal(0);
        return debit;
    }

    public void setDebit(BigDecimal debit) {
        this.debit = debit;
    }

    public int getCashStatus() {
        return cashStatus;
    }

    public void setCashStatus(int cashStatus) {
        this.cashStatus = cashStatus;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    @Override
    public String toString() {
        return "RespCashSettleReport{" +
                "cityName='" + cityName + '\'' +
                ", placeName='" + placeName + '\'' +
                ", placeCode='" + placeCode + '\'' +
                ", contact='" + contact + '\'' +
                ", placeOrderId='" + placeOrderId + '\'' +
                ", orderStatus=" + orderStatus +
                ", debit=" + debit +
                ", cashStatus=" + cashStatus +
                ", orderType=" + orderType +
                '}';
    }
}
